package com.essearch.entity;

import com.essearch.common.TableConst;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import java.io.Serializable;
import java.sql.*;
/**
* request_unit 实体类
* Tue Oct 27 15:28:55 CST 2020 
*/ 

@Getter
@Setter
@ToString
//@Document(indexName = TableConst.INDEX_PRE + "request_unit", type = "request_unit")
public class Request_unit implements Serializable {
	@Field(type = FieldType.Keyword)
	private String id;
	@Field(type = FieldType.Text)
	private String unitId;
	@Field(type = FieldType.Text, analyzer = "ik_max_word", searchAnalyzer = "ik_max_word")
	private String unitName;
	@Field(type = FieldType.Text)
	private String unitType;
	@Field(type = FieldType.Text)
	private String unitCode;
	@Field(type = FieldType.Text, analyzer = "ik_max_word", searchAnalyzer = "ik_max_word")
	private String aP;
	@Field(type = FieldType.Text, analyzer = "ik_max_word", searchAnalyzer = "ik_max_word")
	private String apPhone;
	@Field(type = FieldType.Text, analyzer = "ik_max_word", searchAnalyzer = "ik_max_word")
	private String apMobile;
	@Field(type = FieldType.Text)
	private String areaId;
	@Field(type = FieldType.Text, analyzer = "ik_max_word", searchAnalyzer = "ik_max_word")
	private String unitAddr;
	@Field(type = FieldType.Text)
	private String postCode;
	@Field(type = FieldType.Text, analyzer = "ik_max_word", searchAnalyzer = "ik_max_word")
	private String linker;
	@Field(type = FieldType.Text, analyzer = "ik_max_word", searchAnalyzer = "ik_max_word")
	private String linkerPhone;
	@Field(type = FieldType.Text, analyzer = "ik_max_word", searchAnalyzer = "ik_max_word")
	private String linkerMobile;
	@Field(type = FieldType.Text, analyzer = "ik_max_word", searchAnalyzer = "ik_max_word")
	private String fax;
	@Field(type = FieldType.Text)
	private String eMail;
	@Field(type = FieldType.Text, analyzer = "ik_max_word", searchAnalyzer = "ik_max_word")
	private String bank;
	@Field(type = FieldType.Text, analyzer = "ik_max_word", searchAnalyzer = "ik_max_word")
	private String bankCode;
	@Field(type = FieldType.Text, analyzer = "ik_max_word", searchAnalyzer = "ik_max_word")
	private String creditLevel;
	@Field(type = FieldType.Integer)
	private Integer staffNum;
	@Field(type = FieldType.Integer)
	private Integer zgzNum;
	@Field(type = FieldType.Text)
	private String creator;
	@Field(type = FieldType.Integer)
	private Long createTime;
	@Field(type = FieldType.Text)
	private String operator;
	@Field(type = FieldType.Integer)
	private Long operateTime;
	@Field(type = FieldType.Text)
	private String flag;
}

